﻿namespace SharePointUtilitiesForDevelopers.Repository
{
    /// <summary>
    /// Specifies the degree to which a <see cref="SharePointWeb"/> object graph should be loaded.
    /// </summary>
    public class SharePointWebLoadOptions
    {
        /// <summary>
        /// Gets or sets a value indicating whether site columns should be loaded.
        /// </summary>
        /// <value><c>true</c> if site columns should be loaded; otherwise, <c>false</c>.</value>
        public bool SiteColumns { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether lists should be loaded.
        /// </summary>
        /// <value><c>true</c> if lists should be loaded; otherwise, <c>false</c>.</value>
        public bool Lists { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether content types should be loaded.
        /// </summary>
        /// <value><c>true</c> if content types should be loaded; otherwise, <c>false</c>.</value>
        public bool ContentTypes { get; set; }
    }
}